/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

package com.jy.rhin.facade.ws.registration.terminology;

import cn.org.chiss.rhin._2015.registration.terminology.RetrieveValueSetRequest;
import cn.org.chiss.rhin._2015.registration.terminology.RetrieveValueSetResponse;
import cn.org.chiss.rhin._2015.registration.terminology.ValueSetQueryRequest;
import cn.org.chiss.rhin._2015.registration.terminology.ValueSetQueryResponse;
import com.jy.rhin.application.registration.ValueSetService;
import com.jy.rhin.config.NamespaceConstants;
import com.jy.rhin.support.aspect.AuditLog;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import javax.jws.WebService;

/**
 * This class was generated by Apache CXF 3.5.1
 * 2022-04-14T10:20:01.065+08:00
 * Generated source version: 3.5.1
 * @author weiqing
 */

@WebService(
        serviceName = "ValueSetProvider",
        portName = "ValueSetProviderPort",
        targetNamespace = NamespaceConstants.NS_RHIN,
        endpointInterface = "com.jy.rhin.facade.ws.registration.terminology.ValueSetProvider")
@Component
public class ValueSetProviderPortImpl implements ValueSetProvider {

    @Resource
    ValueSetService valueSetService;

    @Override
    @AuditLog
    public RetrieveValueSetResponse retrieveValueSet(RetrieveValueSetRequest message) {
        return valueSetService.jiZhiHq(message);
    }

    @Override
    @AuditLog
    public ValueSetQueryResponse valueSetQuery(ValueSetQueryRequest message) {
        return valueSetService.jiZhiCx(message);
    }


}
